﻿@{
    ViewBag.Title = "网站管理";
}
@if(HttpContext.Current.User.IsInRole("Admin")){
<h3>用户及角色</h3>
<ul>
<li>@Html.ActionLink("管理角色", "AllRoles")</li>
<li>@Html.ActionLink("管理用户", "AllUsers")</li>
</ul>
}
@if (HttpContext.Current.User.IsInRole("Editor"))
{ 
<h3>信息维护</h3>
<ul>
<li>@Html.ActionLink("奖项信息", "Index", "Award")</li>
<li>@Html.ActionLink("单位信息", "Index", "Organization")</li>
<li>@Html.ActionLink("人员信息", "Index", "Person")</li>
</ul>
}




